// 统一导入 element 图标
import * as Icons from '@element-plus/icons';

export default function register(app: any): void {
  // 注册全局 element-icons 组件
  Object.keys(Icons).forEach((key) => {
    // console.log(key);
    app.component(key, Icons[key as keyof typeof Icons]);
  });
}
